package com.starlink.model.request;

import com.starlink.common.PageQueryRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel("地址请求模型")
public class AddressRequest extends PageQueryRequest implements Serializable {
    @ApiModelProperty("收件人")
    private String receiver;
    @ApiModelProperty("手机号")
    private String mobile;
    @ApiModelProperty("省")
    private String province;
    @ApiModelProperty("市")
    private String city;
    @ApiModelProperty("区/县")
    private String area;
    @ApiModelProperty("详细地址")
    private String detail;
    @ApiModelProperty("默认地址 0否 1是")
    private Integer defaultAddr;
}
